package com.hzj.service.impl;

import com.hzj.pojo.SmbmsBill;
import com.hzj.mapper.SmbmsBillMapper;
import com.hzj.service.SmbmsBillService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author hzj
 * @since 2021-04-14
 */
@Service
@org.apache.dubbo.config.annotation.Service
public class SmbmsBillServiceImpl extends ServiceImpl<SmbmsBillMapper, SmbmsBill> implements SmbmsBillService {
    @Autowired
    SmbmsBillMapper sbm;

    @Override
    public List<Map<String, Object>> showBillAndProvider() {


        return sbm.showBillAndProvider();
    }

    @Override
    public List<Map<String, Object>> checkBillAndProvider(int providerId, int isPayment, String productName) {
        return sbm.checkBillAndProvider(providerId, isPayment, productName);
    }

    @Override
    public Map<String, Object> getBillById(int id) {
        return sbm.getBillById(id);
    }
}
